#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <math.h>
int main()
{
    int n = 0;
    scanf("%d", &n);

    int ret = 0;
    int i = 0;
    while (n)
    {
        int w = n % 10;
        w = w % 2;
        ret += w * pow(10, i++);
        n /= 10;
    }
    printf("%d\n", ret);
    return 0;
}